package hadoop;

import lucene_ik.Item;

public class test {
    public static void main(String[] args) {
    	String ip="localhost";
    	int port=8080;
        MyClient c = new MyClient(ip,port);
//        c.println("1234");
        Item item = new Item(1, "浙江传媒学院新闻", "浙江传媒学院是一所高校");
        c.getItem(item);
        c.close();
    }

}
